package com.dk.api;

import com.dk.dto.StockDTO;
import com.dk.em.Result;
import com.dk.pojo.Warehouse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ktg-cloud-warehouse-service")
public interface WarAPI {

    @GetMapping("warehouse/getwarById")
    public Result<Warehouse> getwarById(@RequestParam Integer warId);
}
